home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / rbs.h < prev    next >
Text File  |  1996-07-10  |  5KB  |  74 lines

  1. /* k 1003 21/08/90 */
  2. /* K 1012 01/11/90 */
  3. /* k 1015 14/11/90 */               /* new struct for HSID,parm  */
  4. /* k 1016 21/11/90 */               /* new struct for image BIND */
  5. /* k 1020 09/01/91 */               /* new value flag prim  */
  6. /* k 1022 19/01/91 */               /* new format PCID      */
  7. /* k 0115    02/02/91    */
  8. /* k 0119       08/02/91        */
  9. struct  rbs {                       /* RBS request          */
  10.     char hdr[3];                    /* header               */
  11. /*  struct {                                             1012
  12.     unsigned fmt:4;                  format            1012
  13.     unsigned node:1;                 flag name node    1012
  14.     unsigned area:1;                 flag name area    1012
  15.     unsigned fid2:1;                 flag FID2         1012
  16.     unsigned group:1;                flag 8439-station 1012
  17.          } format;                                     1012 */
  18.   unsigned char format;                                /* @0119 */
  19.   union {                                             /* 1022 */
  20.     char pcid[8];                   /* PCID                   */
  21.    struct {                                           /* 1022 */
  22.     char pcid1[4];                                    /* 1022 */
  23.     char pcid2[4];                                    /* 1022 */
  24.           } new;                                      /* 1022 */
  25.         } pc;                                         /* 1022 */
  26.     char inode[8];                  /* origin node name     */
  27.     char dnode[8];                  /* destination node name */
  28.   union {                                             /* 1015 */
  29.     short hsid;                     /* local id (origin) 1015 */
  30.    struct {                                           /* 1015 */
  31.     char hsid1;           /* local id (origin)-byte 1    1015 */
  32.     char hsid2;           /* local id (origin)-byte 2    1015 */
  33.           } new;                                      /* 1015 */
  34.         } hs;                                         /* 1015 */
  35.     unsigned char prim;             /*                      *//* @0115 */
  36.     unsigned char ludl;             /* LU name length       *//* @0115 */
  37.     char ludn[8];                   /* LU name (dest)       */
  38.     unsigned char luol;             /* LU name length       *//* @0115 */
  39.     char luon[8];                   /* LU name (origin)     */
  40.  union {                                            /* 1015 */
  41.   struct {                                          /* 1015 */
  42.     unsigned char parml;            /* parameters length    *//* @0115 */
  43.     char parm;                      /* parameters           */
  44.     unsigned char crypl;            /* crypt. length        *//* @0115 */
  45.     char cryp;                      /* crypt.               */
  46.     unsigned char idil;             /* id initiator length  *//* @0115 */
  47.     char idi;                       /* id initiator         */
  48.     unsigned char usdl;             /* user data length     *//* @0115 */
  49.     char usd;                       /* user data            */
  50.     struct imbind imb;              /* bind image/name bind image 1016 */
  51.     unsigned char flag1;            /* flag1                *//* @0115 */
  52.     unsigned char flag2;            /* flag2                *//* @0115 */
  53.     unsigned char flag3;            /* flag3                *//* @0115 */
  54.          } full;                                    /* 1015 */
  55.   struct {                                          /* 1015 */
  56.     unsigned char parml;/* @0115 */ /* parameters length    1015 */
  57.     unsigned char crypl;/* @0115 */ /* crypt. length        1015 */
  58.     unsigned char idil; /* @0115 */ /* id initiator length  1015 */
  59.     unsigned char usdl; /* @0115 */ /* user data length     1015 */
  60.     struct imbind imb;              /* bind image/name bind image 1016 */
  61.     unsigned char flag1;/* @0115 */ /* flag1                1015 */
  62.     unsigned char flag2;/* @0115 */ /* flag2                1015 */
  63.     unsigned char flag3;/* @0115 */ /* flag3                1015 */
  64.          } use;                                          /* 1015 */
  65.        } parm;                                           /* 1015 */
  66.              };
  67. #define FMT0 0                      /* format 0        1003 */
  68. #define FMT1 1                      /* format 1        1003 */
  69. #define FMT2 2                      /* format 2        1003 */
  70. #define FMT3 3                      /* format 3        1003 */
  71. #define RBSPRIM 0x80                /* primary   LU    1020 */
  72. #define RBSSEC  0x40                /* secondary LU    1020 */
  73. #define RBSLEN  120                 /* RBS length      1016 */
  74.